package com.xiaoyu.fish.mapper;

import com.xiaoyu.fish.dto.LocationDto;
import com.xiaoyu.fish.pojo.Location;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface LocationMapper {
    public void renameLocation(LocationDto locationDto);

    public void savePosition(LocationDto locationDto);

    public List<Location> listPoint();

    public void deleteLocation(@Param("id") Integer id);

    public Location selectPointOne(@Param("id") Integer id);


}
